home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 May: Tool Chest / Developer CD Series Tool Chest (Apple Computer)(May 1999).iso / Tool Chest / Memory / DIMM Config&Interleave v1.1 / Interleave.h < prev    next >
Encoding:
Text File  |  1997-10-13  |  723 b   |  23 lines  |  [TEXT/CWIE]

  1. //     Interleave.h
  2. //
  3. //    All the routine prototypes for use in the various source files.
  4.  
  5.  
  6. // These are the data structures that the library uses in order to decipher 
  7. //    whether the ram is interleaved or not.  These must match in the calling
  8. //    program of course.  Probably could use a common header file.
  9.  
  10. struct RAMBankDescriptor {
  11.     UInt32        bankSize;                        // bank size in Megabytes.
  12.     Boolean        bankIsInterleaved;                // if the bank is interleaved, or not.
  13. };
  14. typedef struct RAMBankDescriptor RAMBankDescriptor;
  15. typedef RAMBankDescriptor* RAMBankDescriptorPtr;
  16.  
  17.  
  18. OSErr     GetPhysicalRAMBankInfo(RAMBankDescriptorPtr  theBanks, 
  19.                 UInt32  fullMemSize, Ptr  hammerHeadBase);
  20.  
  21.  
  22. OSStatus FindHammerHead(void* hammerHeadAddress);
  23.